package com.wanmait.wisdom.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wanmait.wisdom.entity.Complaint;

import java.util.Date;
import java.util.List;


public interface ManageComplaintService extends IService<Complaint>  {
    List<Complaint> selectAllComplaints();
    Complaint selectComplaintById(Integer id);
    Long getComplaintFinishedCount();
    Long getComplaintUnFinishedCount();

    PageInfo<Complaint> searchComplaintByCondition(Complaint complaint, Integer pageNum, Date startTime, Date endTime, Integer pageSize);
}
